//获取应用实例
var app = getApp();
Page({
    data: {
        orderId:"",
       "isShowFootNav": false
    },
    onLoad: function () {
	    app.setStorageSync(app.globalData.paySuccessSign,1)  //到了支付成功页首页回复默认值

	    var data =  app.getStorageSync(app.globalData.paySuccess);
        this.setData({
            orderIdList: data
        });
        // app.removeStorageSync(app.globalData.cacheData);
    },
    onHide:function () {

  	},
    detailTap:function (e) {
        var orderId = e.currentTarget.dataset.id;
        app.redirectTo({
            url: '../orderdetail/orderdetail?orderId='+orderId
        });
    }
});
